<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <include file="Pub:head"/>
</head>
<body>
<script language="javascript" type="text/javascript">
    function doread(ids)
    {
        $.post("__APP__/message/read/", "id="+ids,
                function (data, status) {
                    alert(data);
                    //   alert("数据：" + data + "\n状态：" + status);
                    window.location.reload();
                });
    }
</script>
    <include file="top"/>    
    <table class="tableStyle">
    <tr>
        <th>用户名</th>
        <th>发送人</th>
        <th>主题</th>
        <th>内容</th>
        <th>发送时间</th>
        <th>已读</th>
        <th>操作</th>
    </tr>

    <volist name="list" id="vo">
        <tr>
            <td>{$username[$vo['username']]['name']}</td>
            <td>{$vo.sender}</td>
            <td>{$vo.title}</td>
            <td>{$vo.content}</td>
            <td>{$vo.sendtime}</td>
            <td>{$vo.isRead}</td>
            <td>
            <a href="__URL__/ReplayList/id/{$vo.id}">查看回复</a>
               <!--<a href="javascript:void(0);" onclick="doread({$vo['id']});">知道了</a>
                <a href="__URL__/Reply/id/{$vo.id}">回复</a>  --> 
            </td>
        </tr>
    </volist>

</table>



</body>
</html>

